/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author leehoa
 */
public class checkInputString {
    public static void main(String args[]) {
        
        String t = "1234567890";
        String t2 = "aasdBGJJ.-/_";
        if(checkAccount(t))
            System.out.println("true");
        else
            System.out.println("false");

    }    
    static boolean checkAccount(String account) {
//        return account.matches("([0-9]+)");        
//        return account.matches("([a-zA-Z0-9_./\\-]+)");
        return account.matches("([0-9]+)");
    }
}
